package com.ysy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
/**
 * <p>
 * 用户计数统计表
 * </p>
 *
 * @author yangSy
 * @since 2025-04-30
 */
@Getter
@Setter
@ToString
@TableName("user_count")
public class UserCount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 发布笔记总数
     */
    @TableField("note_total")
    private Long noteTotal;

    /**
     * 获得点赞总数
     */
    @TableField("like_total")
    private Long likeTotal;

    /**
     * 关注总数
     */
    @TableField("follow_total")
    private Long followTotal;

    /**
     * 粉丝总数
     */
    @TableField("fans_total")
    private Long fansTotal;

    /**
     * 获得收藏总数
     */
    @TableField("collect_total")
    private Long collectTotal;
}
